package com.lpy.service;

import com.lpy.spring.LpyApplicationContext;

/**
 * @Description:
 * @author: LiuPengYu
 * @date 2024/11/16 14:22
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException {
        LpyApplicationContext lpyApplicationContext = new LpyApplicationContext(AppConfig.class);
        UserService userService = (UserService) lpyApplicationContext.getBean("userService");
        userService.test();
    }
}